package com.atguigu.jxc.controller;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.service.SaleListGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("saleListGoods")
public class SaleListGoods {

    @Autowired
    private SaleListGoodsService saleListGoodsService;

    @PostMapping("save/{saleNumber}")
    public ServiceVO<String> save(
            @PathVariable("saleNumber") String saleNumber,
            SaleList saleList,
            String saleListGoodsStr
    ){

//        this.saleListGoodsService.save(saleNumber,saleList,saleListGoodsStr);
        return null;
    }
}
